﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace 特性
{
    class Program
    {
        public static void Main()
        {
            test1();
            Console.ReadKey();
        }


        public static void test1()
        {
            string msg = Utils.editMsg(typeof(ATest));
            Console.WriteLine(msg);
        }

        public static void test2()
        {
            string msg = Utils.ShowWriteInfo(typeof(ATest));
            Console.WriteLine(msg);
        }

        public static void test()
        {
            Order order = new Order();
            do
            {
                Console.WriteLine("请输入订单号：");
                order.OrderID = Console.ReadLine();
            }
            while (!Utils.isOrderValid(order));
            Console.WriteLine("订单号输入正确，按任意键退出！");
        }
    }
}
